cmake_minimum_required(VERSION 3.5.1)

project(main)

add_compile_options(-std=c++11)

set(CMAKE_CXX_FLAGS_DEBUG "-fPIC -O0 -g -Wall")
set(CMAKE_CXX_FLAGS_RELEASE "-fPIC -O2 -Wall")


include_directories(
	./libwebsockets/build/include/
)

link_directories(
    ./libwebsockets/build/lib/
)

add_executable(main
    main.cpp)

target_link_libraries(main websockets)